package com.itheima.api.returnreason;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.vo.pojo.OmsOrderReturnApply;

import java.util.List;
import java.util.Map;

public interface OmsOrderReturnApplyService extends IService<OmsOrderReturnApply> {
    /**
     * 条件分页查询
     * @param pageNum
     * @param pageSize
     * @param id
     * @param createTime
     * @param handleMan
     * @param handleTime
     * @return
     */
    Map findByPage(Integer pageNum, Integer pageSize, Integer id, String createTime, String handleMan, String handleTime);

    /**
     * 批量删除退货申请
     * @param ids
     */
    void deleteByIds(List<Integer> ids);

    /**
     * 修改退货申请状态
     * @param id
     * @param returnApply
     */
    void updateStatus(Integer id, OmsOrderReturnApply returnApply);
}
